package com.ruoyi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.entity.OccupantInfo;
import com.ruoyi.vo.OccupantInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 入住登记Mapper接口
 *
 * @author 黄龙
 * @date 2022-11-17
 */
public interface OccupantInfoMapper extends BaseMapper<OccupantInfo> {

    Page<OccupantInfoVo> queryList(Page<?> page, @Param("entity") OccupantInfoVo entity);

    List<OccupantInfoVo> queryList(@Param("entity") OccupantInfoVo entity);

    OccupantInfoVo queryById(@Param("id") Long id);

}
